package org.lease.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.lease.model.entity.UserInfo;
import org.lease.model.enums.BaseStatus;
import org.lease.model.query.UserInfoPageQuery;

public interface UserInfoService extends IService<UserInfo> {

    IPage<UserInfo> pageQuery(UserInfoPageQuery query);

    boolean updateStatus(Long id, BaseStatus status);

    UserInfo getByPhone(String phone);
}
